package br.com.citta.dao.impl;

import br.com.citta.business.entities.Credor;
import br.com.citta.dao.CredorDao;
import java.util.List;
import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

public class CredorDaoImpl extends HibernateDaoSupport implements CredorDao {
    
    public List<Credor> findAll(){
        
        return getHibernateTemplate().find("from Credor").subList(0, 40);
        
    }
    
}
